.class Lcom/waiqin365/lightapp/visit/w;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 5

    const/4 v1, 0x0

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    :goto_0
    :pswitch_0
    return-void

    :pswitch_1
    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->dismissProgressDialog()V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/visit/a/a/as;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/a/a/as;->b()Z

    move-result v2

    if-eqz v2, :cond_9

    iget-object v2, v0, Lcom/waiqin365/lightapp/visit/a/a/as;->b:Ljava/lang/String;

    if-eqz v2, :cond_5

    const-string/jumbo v2, "1"

    iget-object v3, v0, Lcom/waiqin365/lightapp/visit/a/a/as;->b:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_5

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->i(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Z

    move-result v2

    if-eqz v2, :cond_0

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->j(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)V

    :cond_0
    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->k(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-lez v2, :cond_2

    new-instance v3, Lcom/waiqin365/lightapp/kehu/b/o;

    invoke-direct {v3}, Lcom/waiqin365/lightapp/kehu/b/o;-><init>()V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    iget-object v4, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-virtual {v2, v4}, Lcom/waiqin365/base/login/mainview/a;->k(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/a/a/as;->e:Ljava/lang/String;

    iput-object v0, v3, Lcom/waiqin365/lightapp/kehu/b/o;->a:Ljava/lang/String;

    iput-object v2, v3, Lcom/waiqin365/lightapp/kehu/b/o;->b:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->l(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v3, Lcom/waiqin365/lightapp/kehu/b/o;->d:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, v3, Lcom/waiqin365/lightapp/kehu/b/o;->e:Ljava/lang/String;

    move v2, v1

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->k(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v2, v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->k(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->a(Lcom/waiqin365/lightapp/kehu/b/o;)V

    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_1

    :cond_1
    new-instance v0, Landroid/content/Intent;

    const-string/jumbo v2, "android.intent.action.RUN"

    invoke-direct {v0, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    const-class v3, Lcom/fiberhome/upload/UpLoadService;

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-virtual {v2, v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->m(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_4

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->m(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->n(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Landroid/content/Context;

    move-result-object v2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->m(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;->f()Ljava/util/ArrayList;

    move-result-object v3

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->m(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/AttachUploadView_vertical;->g()Ljava/util/ArrayList;

    move-result-object v0

    iget-object v4, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v4}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->o(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Ljava/lang/String;

    move-result-object v4

    invoke-static {v2, v3, v0, v4}, Lcom/fiberhome/upload/c/b;->a(Landroid/content/Context;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_2

    :cond_3
    new-instance v0, Landroid/content/Intent;

    const-string/jumbo v1, "android.intent.action.RUN"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    const-class v2, Lcom/fiberhome/upload/UpLoadH5FileService;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    const v2, 0x7f08079c

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/base/db/seniorvisitcache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/seniorvisitcache/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->e(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Ljava/lang/String;

    move-result-object v1

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v2

    const/4 v3, 0x6

    invoke-virtual {v2, v3}, Ljava/util/Calendar;->get(I)I

    move-result v2

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/db/seniorvisitcache/f;->c(Ljava/lang/String;Ljava/lang/String;)Z

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v1, "type"

    sget-object v2, Lcom/fiberhome/gaea/client/a/e;->f:Lcom/fiberhome/gaea/client/a/e;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v1, "funcId"

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->a(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    const-class v2, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-class v2, Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v2

    const-string/jumbo v3, "reinit_activity"

    invoke-virtual {v2, v3, v0, v1}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/util/List;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->a(Lcom/waiqin365/lightapp/visit/CustomFormActivity;Z)V

    goto/16 :goto_0

    :catch_0
    move-exception v0

    goto/16 :goto_0

    :cond_5
    const-string/jumbo v1, "2"

    iget-object v2, v0, Lcom/waiqin365/lightapp/visit/a/a/as;->b:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_6

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/a/a/as;->c:Ljava/lang/String;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->b(Lcom/waiqin365/lightapp/visit/CustomFormActivity;Ljava/lang/String;)V

    goto/16 :goto_0

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->p(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Z

    move-result v0

    if-eqz v0, :cond_7

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->q(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)V

    goto/16 :goto_0

    :cond_7
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->i(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Z

    move-result v0

    if-eqz v0, :cond_8

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->j(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)V

    :cond_8
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->r(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)V

    goto/16 :goto_0

    :cond_9
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->p(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Z

    move-result v0

    if-eqz v0, :cond_a

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->q(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)V

    goto/16 :goto_0

    :cond_a
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->i(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Z

    move-result v0

    if-eqz v0, :cond_b

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->j(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)V

    :cond_b
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->r(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto/16 :goto_0

    :pswitch_2
    :try_start_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->dismissProgressDialog()V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/visit/a/a/af;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    const v2, 0x7f0806f1

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    iget-object v2, v0, Lcom/waiqin365/lightapp/visit/a/a/af;->c:Ljava/lang/String;

    if-eqz v2, :cond_c

    iget-object v2, v0, Lcom/waiqin365/lightapp/visit/a/a/af;->c:Ljava/lang/String;

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v2

    if-lez v2, :cond_c

    iget-object v1, v0, Lcom/waiqin365/lightapp/visit/a/a/af;->c:Ljava/lang/String;

    :cond_c
    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/a/a/af;->b()Z

    move-result v2

    if-eqz v2, :cond_e

    iget-object v2, v0, Lcom/waiqin365/lightapp/visit/a/a/af;->b:Ljava/lang/String;

    if-eqz v2, :cond_d

    const-string/jumbo v2, "1"

    iget-object v3, v0, Lcom/waiqin365/lightapp/visit/a/a/af;->b:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_d

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/a/a/af;->d:Ljava/lang/String;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->c(Lcom/waiqin365/lightapp/visit/CustomFormActivity;Ljava/lang/String;)Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->s(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)V

    goto/16 :goto_0

    :catch_1
    move-exception v0

    goto/16 :goto_0

    :cond_d
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->t(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Landroid/widget/RelativeLayout;

    move-result-object v0

    const/16 v2, 0x8

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->u(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Landroid/view/View;

    move-result-object v0

    const/16 v2, 0x8

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->v(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    const/4 v2, 0x0

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->v(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/NoNetView;->b(Ljava/lang/String;)V

    goto/16 :goto_0

    :cond_e
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->t(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Landroid/widget/RelativeLayout;

    move-result-object v1

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->u(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Landroid/view/View;

    move-result-object v1

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->v(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->v(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    iget v0, v0, Lcom/waiqin365/lightapp/visit/a/a/af;->a:I

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a(I)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    goto/16 :goto_0

    :pswitch_3
    :try_start_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->dismissProgressDialog()V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/visit/a/a/ae;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    const v2, 0x7f0806f1

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    iget-object v2, v0, Lcom/waiqin365/lightapp/visit/a/a/ae;->c:Ljava/lang/String;

    if-eqz v2, :cond_f

    iget-object v2, v0, Lcom/waiqin365/lightapp/visit/a/a/ae;->c:Ljava/lang/String;

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v2

    if-lez v2, :cond_f

    iget-object v1, v0, Lcom/waiqin365/lightapp/visit/a/a/ae;->c:Ljava/lang/String;

    :cond_f
    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/a/a/ae;->b()Z

    move-result v2

    if-eqz v2, :cond_14

    iget-object v2, v0, Lcom/waiqin365/lightapp/visit/a/a/ae;->b:Ljava/lang/String;

    if-eqz v2, :cond_12

    const-string/jumbo v2, "1"

    iget-object v3, v0, Lcom/waiqin365/lightapp/visit/a/a/ae;->b:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_12

    const-string/jumbo v1, "1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/visit/a/a/ae;->d:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_10

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->i(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Z

    move-result v1

    if-eqz v1, :cond_10

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->w(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Z

    move-result v1

    if-eqz v1, :cond_10

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/a/a/ae;->f:Ljava/util/ArrayList;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->a(Lcom/waiqin365/lightapp/visit/CustomFormActivity;Ljava/util/ArrayList;)Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->x(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)V

    goto/16 :goto_0

    :catch_2
    move-exception v0

    goto/16 :goto_0

    :cond_10
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    iget-object v2, v0, Lcom/waiqin365/lightapp/visit/a/a/ae;->f:Ljava/util/ArrayList;

    const-string/jumbo v3, "1"

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/a/a/ae;->d:Ljava/lang/String;

    invoke-virtual {v3, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    invoke-static {v1, v2, v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->a(Lcom/waiqin365/lightapp/visit/CustomFormActivity;Ljava/util/ArrayList;Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->t(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Landroid/widget/RelativeLayout;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->y(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Z

    move-result v0

    if-eqz v0, :cond_11

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->u(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->v(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    goto/16 :goto_0

    :cond_11
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->u(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_3

    :cond_12
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->t(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Landroid/widget/RelativeLayout;

    move-result-object v0

    const/16 v2, 0x8

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->u(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Landroid/view/View;

    move-result-object v0

    const/16 v2, 0x8

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->v(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    const/4 v2, 0x0

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->v(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->v(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v0

    iget-object v2, v0, Lcom/waiqin365/lightapp/view/NoNetView;->a:Landroid/widget/TextView;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_13

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    const v1, 0x7f08058e

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    :goto_4
    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_13
    move-object v0, v1

    goto :goto_4

    :cond_14
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->t(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Landroid/widget/RelativeLayout;

    move-result-object v1

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->u(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Landroid/view/View;

    move-result-object v1

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->v(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/view/NoNetView;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/w;->a:Lcom/waiqin365/lightapp/visit/CustomFormActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/CustomFormActivity;->v(Lcom/waiqin365/lightapp/visit/CustomFormActivity;)Lcom/waiqin365/lightapp/view/NoNetView;

    move-result-object v1

    iget v0, v0, Lcom/waiqin365/lightapp/visit/a/a/ae;->a:I

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a(I)V
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_2

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0x2c6
        :pswitch_3
        :pswitch_0
        :pswitch_1
        :pswitch_0
        :pswitch_2
    .end packed-switch
.end method
